﻿<!DOCTYPE html>
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
    <title>BingoTouch WebApp</title>
    <meta name="viewport" content="user-scalable=no" />
    <link rel="stylesheet" href="common/jquery.mobile-1.1.0.min.css" />
    <link rel="stylesheet" href="common/BingoTouch.css" />
    <script src="common/iscroll.js"></script>
    <script src="common/jquery-1.7.1.min.js"></script>
    <script src="common/jquery.mobile-1.1.0.min.js"></script>
    <script src="common/BingoTouch.js"></script>
    <script type="text/javascript" src="scripts/common.js"></script>
    <script type="text/javascript" src="scripts/auth.js"></script>
<script>
    BingoTouch.ready = function () {
        BingoTouch.WebView.wait(true);
        ReqGet(BisServicePath + "GetUserLogs&username=" + GetUserName(), true, success);
    };

    function success(dto) {
        var text = '';
        for (var i = 0; i < dto.length; i++) {
            text += string2Date(dto[i].UpdateTime) + ' ' + dto[i].Message + '<br>';
        }
        $('#UserLogs').append(text);

        BingoTouch.WebView.wait(false);
    }

</script>
<style>
	td{ padding:3px; }
</style>
</head>
<body>
<div data-role="page" class="container">
    <div class="header" fixed="top">
        <div class="header-left">
            <div class="btn-back" data-role="BTButton" data-url="home.html">返回</div>
        </div>
        <h1 class="title">消息中心</h1>
        <div class="header-right">
            <div class="btn-primary" data-role="BTButton" id="refresh">
                <img src="demo/statics/images/icon-refresh.png" alt=""/>
            </div>
        </div>
    </div>
	<div class="content">
    	<div class="content">
        	<div class="content-inner" style="padding-top:80px;">
              <p id="UserLogs"></p>
            <br />
            <br />
        </div>
	</div>

    <!-- 底部导航 -->
    <div class="footer" fixed="bottom">
        <div class="navbar">
            <ul class="grid-d" sonmenu="true" sonmenu-dir="top">
                <li>
                    <div class="btn-inverse" data-icon="demo/statics/images/icon-home.png" data-role="BTButton"
                        data-url="home.html" icon-dir="top" mouseup="false">
                        活动</div>
                </li>
                <li>
                    <div class="btn-inverse" data-icon="demo/statics/images/icon-list.png" data-role="BTButton"
                        data-url="pics.html" icon-dir="top" mouseup="false">
                        照片</div>
                </li>
                <li>
                    <div class="btn-inverse btn-active" data-icon="demo/statics/images/icon-search.png" data-role="BTButton"
                        data-url="account.html" icon-dir="top" mouseup="false">
                        账户</div>
                </li>
                <li>
                    <div class="btn-inverse" data-icon="demo/statics/images/icon-setting.png"
                        data-role="BTButton" data-url="contact.html" icon-dir="top" mouseup="false">
                        联系</div>
                </li>
            </ul>
        </div>
    </div>
</div>
</body>
</html>